//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Mean Girls','Flynn Center for the Performing Arts','Burlington, VT','Tuesday','5/7/2024','7:30 PM','5703115','Mean-Girls-5-7-2024'],['Mean Girls','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','5/8/2024','7:30 PM','5703116','Mean-Girls-5-8-2024'],['Mean Girls','Flynn Center for the Performing Arts','Burlington, VT','Thursday','5/9/2024','7:30 PM','6125296','Mean-Girls-5-9-2024'],['Straight No Chaser','Flynn Center for the Performing Arts','Burlington, VT','Sunday','5/12/2024','8:00 PM','6254195','Straight-No-Chaser-5-12-2024'],['Cecile McLorin Salvant','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','6/5/2024','7:30 PM','6374803','Cecile-McLorin-Salvant-6-5-2024'],['Robert Glasper','Flynn Center for the Performing Arts','Burlington, VT','Sunday','6/9/2024','7:30 PM','6374804','Robert-Glasper-6-9-2024'],['Hasan Minhaj','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','6/12/2024','7:30 PM','6379821','Hasan-Minhaj-6-12-2024'],['Colin Mochrie & Brad Sherwood','Flynn Center for the Performing Arts','Burlington, VT','Friday','6/14/2024','7:30 PM','6217301','Colin-Mochrie---Brad-Sherwood-6-14-2024'],['Bonnie Raitt','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','6/19/2024','7:30 PM','6029119','Bonnie-Raitt-6-19-2024'],['Justin Willman','Flynn Center for the Performing Arts','Burlington, VT','Saturday','6/29/2024','7:00 PM','6377231','Justin-Willman-6-29-2024'],['Rick Springfield & Richard Marx','Flynn Center for the Performing Arts','Burlington, VT','Friday','9/6/2024','8:00 PM','6102304','Rick-Springfield---Richard-Marx-9-6-2024'],['Maren Morris','Flynn Center for the Performing Arts','Burlington, VT','Tuesday','9/10/2024','8:00 PM','6392046','Maren-Morris-9-10-2024'],['Brian Regan','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','10/2/2024','7:30 PM','6412285','Brian-Regan-10-2-2024'],['Bruce Hornsby And The Noisemakers','Flynn Center for the Performing Arts','Burlington, VT','Friday','10/4/2024','7:30 PM','6306845','Bruce-Hornsby-And-The-Noisemakers-10-4-2024'],['Kathleen Madigan','Flynn Center for the Performing Arts','Burlington, VT','Saturday','10/12/2024','7:30 PM','6387109','Kathleen-Madigan-10-12-2024'],['Mania - The ABBA Tribute','Flynn Center for the Performing Arts','Burlington, VT','Wednesday','10/23/2024','7:30 PM','6401266','Mania---The-ABBA-Tribute-10-23-2024'],['Sammy Rae','Flynn Center for the Performing Arts','Burlington, VT','Friday','11/1/2024','8:00 PM','6329233','Sammy-Rae-11-1-2024'],['World Ballet Company: Swan Lake','Flynn Center for the Performing Arts','Burlington, VT','Thursday','11/21/2024','7:00 PM','6374805','World-Ballet-Company--Swan-Lake-11-21-2024'],['Judy Collins','Flynn Center for the Performing Arts','Burlington, VT','Thursday','12/12/2024','7:30 PM','6417210','Judy-Collins-12-12-2024'],['Nikki Glaser','Flynn Center for the Performing Arts','Burlington, VT','Saturday','12/14/2024','7:00 PM','6415547','Nikki-Glaser-12-14-2024']],'Flynn Center for the Performing A','http://www.ticketnetwork.com/ticket/Flynn-Center-for-the-Performing-A-events.aspx');